comparing numbers 1-10